/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package unilearn.dao;

import java.util.List;
import unilearn.vo.Subject;

/**
 *
 * @author Yat
 */
public interface SubjectDAO {

    public abstract List<Subject> getAll() throws Exception;

    public abstract Subject get(String subjectCode) throws Exception;

    public abstract List<Subject> find(Subject subject) throws Exception;

    public abstract Subject insert(Subject subject) throws Exception;

    public abstract Subject update(Subject subject) throws Exception;

    public abstract void delete(Subject subject) throws Exception;
}
